package com.manli.api.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * VIEW
 * 
 * @author manli
 * @email 
 * @date 2020-04-28 16:05:32
 */
@ApiModel(value = "userVIEW")
public class ViewUser implements Serializable {

	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer userId;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "String")
	@JsonIgnore(value = true)
	@JsonIgnoreProperties
	    private String password;
	/**
	 * 
	 */
    @ApiModelProperty(value = "",dataType = "String")
	    private String username;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer status;

	/**
	 *
	 */
	@ApiModelProperty(value = "",dataType = "String")
	public String realName;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "Integer")
	    private Integer roleId;
	/**
	 * 
	 */

    @ApiModelProperty(value = "",dataType = "String")
	    private String roleName;

    @ApiModelProperty(value = "",dataType = "Integer")
    private Integer branchId;
    
    @ApiModelProperty(value = "",dataType = "Integer")
    private Integer partnerId;
    
    @ApiModelProperty(value = "",dataType = "String")
    private String branchName;
    
    @ApiModelProperty(value = "",dataType = "String")
    private String partnerName;

	public Integer getUserId() {
		return userId;
	}

	@ApiModelProperty(value = "",dataType = "String")
	private String userPhone;



	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	@JsonIgnore
	public String getPassword() {
		return password;
	}
	@JsonProperty
	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public Integer getBranchId() {
		return branchId;
	}

	public void setBranchId(Integer branchId) {
		this.branchId = branchId;
	}

	public Integer getPartnerId() {
		return partnerId;
	}

	public void setPartnerId(Integer partnerId) {
		this.partnerId = partnerId;
	}

	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public String getPartnerName() {
		return partnerName;
	}

	public void setPartnerName(String partnerName) {
		this.partnerName = partnerName;
	}

	public String getUserPhone() {
		return userPhone;
	}

	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}
}
